package com.exchange.controller.app.coin;

import com.exchange.common.model.CoinConfig;
import com.jfinal.kit.Ret;

public class CoinService {
	
	public Ret info(String coin) {
		CoinConfig coinConfig = CoinConfig.dao.findFirstByCache("coinConfigCache", coin, "SELECT * FROM t_coin_config WHERE coin = ? ", coin);
		return Ret.ok("coin",coinConfig);
    }
}
